for (let i = 1; i <= 10; i++) {
    console.log(String(i).padStart(3, '0'))
}

let str = ''
for (let i = 9; i >= 1; i--) {
    str+=`${String(i).padStart(2,'0')}  `
}
console.log(str)


